const loaderUtils = require('loader-utils');

module.exports = function (source) {
  console.log('Loader a is excuted!');
  const url = loaderUtils.interpolateName(this, '[name].[hash:4].[ext]', source);
  console.log('url: ', url);
  this.emitFile(url, source);
  return source;
};